package com.malljelly.study.feign;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by 骑着蜗牛去旅行 on 2018/9/4.
 */
@FeignClient(qualifier = "orderFeignClient",name = "service-order")
public interface OrderFeignClient {


    @GetMapping("soa/orderService/updateOrder")
    JSONObject updateOrder(@RequestParam("isPay") Long isPay, @RequestParam("payId") String aliPayId,
                           @RequestParam("orderNumber") String orderNumber);
}
